package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.DelayDataParamStatService;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class DelayDataParamStatJob extends QuartzJobBean {
	
	private DelayDataParamStatService deDaStaService;

	public DelayDataParamStatService getDeDaStaService() {
		return deDaStaService;
	}

	public void setDeDaStaService(DelayDataParamStatService deDaStaService) {
		this.deDaStaService = deDaStaService;
	}

	/**
	 * 设备延迟数据参数统计：每天00:30调用一次。 
	 */
	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		deDaStaService.startStat();
	}
}
